From: Paul Eggert Date: Fri, 16 May 2014 19:03:07 +0000 (-0700) Subject: * configure.ac (EMACS_CHECK_MODULES): Fix typo and simplify. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~3423^2~1634 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=87374fcc51a31e13dfb105659594b4906990527f;p=emacs.git * configure.ac (EMACS_CHECK_MODULES): Fix typo and simplify. --- diff --git a/configure.ac b/configure.ac index 03b85a5ffa0..55e5b8c0b5f 100644 --- a/configure.ac +++ b/configure.ac @@ -1375,13 +1375,8 @@ dnl actions. AC_DEFUN([EMACS_CHECK_MODULES], [PKG_CHECK_MODULES([$1], [$2], [$1_CFLAGS=`AS_ECHO(["$$1_CFLAGS"]) | sed -e "$edit_cflags"` - emacs_check_module_ok=:], - [:]) - if $emacs_check_module_ok; then - m4_default([$3], [HAVE_$1=yes]) - else - m4_default([$4], [HAVE_$1=no]) - fi]) + m4_default([$3], [HAVE_$1=yes])], + [m4_default([$4], [HAVE_$1=no])])]) HAVE_SOUND=no if test "${with_sound}" != "no"; then